home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1993 July / InfoMagic USENET CD-ROM July 1993.ISO / answers / dec-faq / ultrix < prev    next >
Encoding:
Internet Message Format  |  1993-07-01  |  49.1 KB

  1. Path: senator-bedfellow.mit.edu!bloom-beacon.mit.edu!gatech!usenet.ufl.edu!eng.ufl.edu!spool.mu.edu!olivea!grapevine.lcs.mit.edu!vanilla.lcs.mit.edu!treese
  2. From: treese@lcs.mit.edu
  3. Newsgroups: comp.unix.ultrix,comp.sys.dec,news.answers,comp.answers
  4. Subject: comp.unix.ultrix ULTRIX Frequently Asked Questions
  5. Supersedes: <ultrix-faq_739048052@lcs.mit.edu>
  6. Followup-To: comp.unix.ultrix
  7. Date: 2 Jul 1993 04:22:19 GMT
  8. Organization: MIT Laboratory for Computer Science
  9. Lines: 1211
  10. Approved: news-answers-request@MIT.Edu
  11. Expires: 15 Aug 1993 04:21:35 GMT
  12. Message-ID: <ultrix-faq_741586895@lcs.mit.edu>
  13. NNTP-Posting-Host: vanilla.lcs.mit.edu
  14. Summary: This posting contains a list of Frequently Asked Questions
  15.     (and their answers) about the ULTRIX operating system from
  16.     Digital Equipment Corporation.
  17. Originator: treese@vanilla.lcs.mit.edu
  18. Xref: senator-bedfellow.mit.edu comp.unix.ultrix:21430 comp.sys.dec:17057 news.answers:9908 comp.answers:1176
  19.  
  20. Archive-name: dec-faq/ultrix
  21. Last-modified: Thu Jul 01 22:58:25 EDT 1993
  22. Version: 1.11
  23.  
  24. This is part 1 of the Frequently Asked Questions posting for
  25. comp.unix.ultrix, with answers about the ULTRIX operating system.  It
  26. is also posted on comp.sys.dec, but it is not a full FAQ for
  27. comp.sys.dec.  Companion postings have answers that apply to both
  28. ULTRIX and OSF/1 and answers that apply to OSF/1 alone.
  29.  
  30. A separate FAQ describes how to get information about Digital products
  31. and interacting with Digital.
  32.  
  33. This FAQ is available in the following archive sites, in the directory
  34. /pub/DEC/dec-faq:
  35.  
  36.     gatekeeper.dec.com
  37.     crl.dec.com
  38.     decuac.dec.com
  39.  
  40. It can also be obtained by sending mail to ftpmail@pa.dec.com with the
  41. following lines:
  42.     connect
  43.     get /pub/DEC/dec-faq/
  44.  
  45. Many FAQs, including this one, are available on the archive site
  46. rtfm.mit.edu in the directory pub/usenet/news.answers.  The name under
  47. which a FAQ is archived appears in the Archive-name line at the top of
  48. the article.  This FAQ is archived in the directory dec-faq.
  49.  
  50. To receive this posting by mail, send a note to ultrix-faq-request@crl.dec.com.
  51.  
  52. If the location of a file in an archive is not specifically mentioned
  53. below, it is in /pub/DEC on the above machines.
  54.  
  55. To make suggestions for changes or additions to this Frequently Asked
  56. Questions list, send mail to ultrix-faq@crl.dec.com.  Answers are
  57. especially appreciated.
  58.  
  59. An archive of recent postings to comp.unix.ultrix can be found via
  60. anonymous FTP on ftp.cc.rochester.edu in /pub/usenet/comp.unix.ultrix.
  61. Thanks to folks at the University of Rochester for providing this
  62. service.
  63.  
  64. Some general notes:
  65.  
  66. When used alone, the word "DECstation" is used to mean any of the
  67. DECstations or DECsystems that use MIPS RISC processors.  Similarly,
  68. "Alpha" refers to any DEC systems that use the Alpha AXP processor.
  69.  
  70. Unless otherwise specified, these answers refer to ULTRIX 4.3, which is
  71. the current release of ULTRIX.
  72.  
  73. Many people have contributed to this list, directly or indirectly.  In
  74. some cases, an answer has been adapted from one or more postings on the
  75. comp.unix.ultrix newsgroup.  Our thanks to all of those who post answers.
  76. The name (or names) at the end of an entry indicate that the information
  77. was taken from postings by those individuals; the text may have been
  78. edited for this FAQ.  These citations are only given to acknowledge the
  79. contribution.
  80.  
  81. Although the editor of this FAQ is an employee of Digital Equipment
  82. Corporation, this posting is not an official statement from Digital
  83. Equipment Corporation.
  84.  
  85. Software
  86. ======================================================
  87. S1. Why does dxpsview sometimes crash with an X error?
  88. S2. How do I compile perl on RISC/ULTRIX?
  89. S3. Is it possible to run the newer 4.3 BSD syslogd on ULTRIX? **CHANGED**
  90. S4. How do I build gdb on RISC/ULTRIX?
  91. S5. Why doesn't "talk" work between DECstations and other machines?
  92. S6. Why doesn't troff work?
  93. S7. How are /bin/sh and /usr/bin/sh5 related?
  94. S8. Why doesn't syslog work on ULTRIX 4.3?
  95. S9. Is there an LSE (Language-Sensitive Editor) for ULTRIX?
  96. S10. How can I get a core dump of a running process on ULTRIX? 
  97. S11. Will ULTRIX ever have shared libraries? 
  98. S12. Where can I get a "man" program that understands multiple directories? 
  99.  
  100. Network
  101. ======================================================
  102. N1. What does the message "named: accept: Too many open files" in syslog mean,
  103.     and how can I fix it?
  104. N2. Why don't packet-filter applications like "tcpdump" or CAP work?
  105. N3. OK, I've done all that and CAP still doesn't run.
  106. N4. I want to run the "screend" program but I get "Operation not supported
  107.     on socket".
  108. N5. I want to use screend but I'm not sure how to set up the
  109.     /etc/screend.conf configuration file.
  110. N6. Why can't ULTRIX 4.2 mount NFS filesystems that could be mounted with
  111.         ULTRIX 4.1?
  112. N7. How do I change the IP address of a diskless client? 
  113. N8. Is ONC RPC (formerly "Sun RPC") supported under ULTRIX - and what should I
  114.     do to port my existing applications that rely on it?
  115. N9. How can I disable forwarding of IP packets on an ULTRIX system with two
  116.     network interfaces?
  117. N10. How can I run network daemons from inetd as users other than root?
  118. N11. How do I decode "stale filehandle" messages from NFS?
  119. N12. Where can I get IP multicast support for ULTRIX? 
  120.  
  121. Disk
  122. ======================================================
  123. D1. Why doesn't ULTRIX 4.1 work with disks bigger than 1.2GBytes?
  124. D2. How can I increase the number of inodes on a filesystem? 
  125. D3. OK, I used "newfs -i", and I didn't get more inodes? **NEW**
  126. D4. What the ^&@(%*&) is a gnode? 
  127.  
  128. Programming
  129. ======================================================
  130. P1. Where can I get an ANSI C compiler for DECstations running ULTRIX?
  131. P2. Where can I get a Modula-2 (or Modula-3) compiler for ULTRIX?
  132. P3. Does mmap(2) work on plain files? **NEW**
  133.  
  134. Graphics
  135. ======================================================
  136. G1. Why does the X server use so much memory?
  137. G2. How can I build an X11R5 server for an ULTRIX machine?
  138. G3. How do I change or get rid of the Digital logo on the login screen of 
  139.     my workstation?
  140. G4. How do I run MIT X11 Software?
  141. G5. How do I build X software that I got from the net?
  142. G6. Why do some applications run slowly on the DECstation PX and PXG
  143.     displays?
  144. G7. What can I do to improve security with X? Can I use xdm? 
  145.  
  146. Hardware
  147. ======================================================
  148. H5. Can I mix 8-Megabyte and 32-Megabyte boards in the DECstation 5000/xxx
  149.     family?
  150. H6. How can I find out which type of DECstation 5000 I have?
  151. H7. How can I run a DECstation 3100 without the display?
  152.  
  153. Miscellaneous
  154. ======================================================
  155. M1. What is the floating-point number representation on ULTRIX?
  156. M2. If the console is a graphics device, can it be used as a terminal for
  157.     full-screen applications?
  158. M3. How do I read a tar image from a TK50 tape if my only TK50 is on a VMS
  159.     machine?
  160. M4. Why does ULTRIX restrict the number of users on the system?
  161. M5. Where else can I discuss ULTRIX with other users?
  162. M6. What is the part number for an ULTRIX source code license?
  163.  
  164. ******************** Software ***************************************
  165.  
  166. ==============================================
  167. S1. Why does dxpsview sometimes crash with an X error?
  168.  
  169. dxpsview will often behave better if the "Watch Progress" item is selected
  170. from the Options menu.  You can use the following resource in your
  171. .Xdefaults file:
  172.  
  173. DPSViewer*watchProgress:        on
  174.  
  175. to make this the default behavior.  Some reports indicate that this resource
  176. only works properly on ULTRIX 4.2A and later, however.
  177.  
  178. Some have reported that disabling the use of PostScript comments also helps:
  179.  
  180. DPSViewer*useComments:            off
  181.  
  182.  
  183. ==============================================
  184. S2. How do I compile perl on RISC/ULTRIX?
  185.  
  186. The following is valid for perl 4.0, patchlevel 35.  It is probably
  187. approximately correct for later versions as well.
  188.  
  189. The biggest trick in compiling perl on RISC/ULTRIX is fixing its
  190. notion of "volatile".  To do this, when Configure stops and asks you
  191. if you want to edit config.sh, do so. Search for the word "volatile"
  192. and change the "define" on that line to "undef".
  193.  
  194. On machines with a relatively small amount of memory, you may not want
  195. to use -O on eval.c, since the compiler can end up taking a long time
  196. to compile that file.
  197.  
  198. If the source directory is NFS-mounted, it is usually the case that you
  199. will see the message
  200.  
  201.    io/fs..........FAILED on test 18
  202.  
  203. This is harmless and can be ignored.
  204.  
  205. ==============================================
  206. S3. Is it possible to run the newer 4.3 BSD syslogd on ULTRIX?
  207.  
  208. A version of the 4.3BSD syslog library and daemon that detects either
  209. 4.2bsd-compatible clients (which is what the Ultrix libc.a will help
  210. you create) or 4.3bsd-compatible clients, which are more flexible, is
  211. available by anonymous FTP from gatekeeper.dec.com in
  212. /pub/DEC/jtkohl-syslog.shar.
  213.  
  214. Another version that supports regular expressions in syslog.conf is available
  215. from decuac.dec.com, in /pub/DEC/syslog_mjr.tar.Z
  216.  
  217. ==============================================
  218. S4. How do I build gdb on RISC/ULTRIX?
  219.  
  220. To build gdb, you will also need to install the GNU make.
  221.  
  222. For gdb 4.0 and later: 
  223. - unpack the tar file
  224. - cd <tar-root>
  225. - ./configure +subdirs decstation
  226. - cd H-decstation/T-decstation
  227. - gnumake
  228.  
  229. This will build the gdb binary in
  230. <tar-root>/gdb/H-decstation/T-decstation/gdb
  231.  
  232. Install this binary in the location of your choice (e.g. /usr/local/bin)
  233.  
  234. ==============================================
  235. S5. Why doesn't "talk" work between DECstations and other machines?
  236.  
  237. The original Berkeley talk protocol did not use network byte order, so
  238. machines with different byte order could not talk to each other.  This
  239. was fixed in 4.3BSD, and in recent versions of ULTRIX.  Some vendors
  240. have not fixed their software.  The 4.3BSD talk software is available
  241. from many FTP archive sites.  ULTRIX includes a program, "otalk",
  242. which uses the old protocol, but it only works with machines that use
  243. little-endian byte order (e.g., VAXen, DECStations, not most others).
  244.  
  245. ==============================================
  246. S6. Why doesn't troff work?
  247.  
  248. Digital doesn not support troff on ULTRIX, mostly because of the way
  249. AT&T licenses the software now.  However, you can use groff (GNU roff)
  250. which works pretty nicely and generates pure PostScript. There's a
  251. RISC/ULTRIX binary kit for groff available for FTP from
  252. decuac.dec.com:/pub/binaries.
  253.                     [Marcus Ranum, mjr@tis.com]
  254.  
  255. ==============================================
  256. S7. How are /bin/sh and /usr/bin/sh5 related?
  257.  
  258. /bin/sh on ULTRIX is the traditional Bourne shell.  /usr/bin/sh5 is
  259. the newer "System V" shell and has functions and a few other odds and
  260. ends added to it. A comparison of the manual pages will give an idea
  261. of the differences.
  262.                     [Marcus Ranum, mjr@tis.com]
  263.  
  264. ==============================================
  265. S8. Why doesn't syslog work on ULTRIX 4.3?
  266.  
  267. There is a bug in the distribution: /etc/syslog.pid is owned by root.  It
  268. should be owned by daemon.
  269.                     [Alan Rollow, alan@nabeth.cxo.dec.com]
  270.  
  271. ==============================================
  272. S9. Is there an LSE (Language-Sensitive Editor) for ULTRIX?
  273.  
  274. DEC's LSE is part of the DECset for ULTRIX product, a set of CASE tools.
  275. GNU Emacs also has packages for several different languages.
  276.                 [Jean-Marc Digne, digne@prssud.enet.dec.com]
  277.  
  278. ==============================================
  279. S10. How can I get a core dump of a running process on ULTRIX? 
  280.  
  281. Get gcore from gatekeeper.dec.com:/pub/DEC/gcore.shar.  This one is
  282. known to work on ULTRIX 4.2; it should work on 4.3 as well.
  283.                         [Jeff Mogul, mogul@pa.dec.com]
  284.  
  285. ==============================================
  286. S12. Will ULTRIX ever have shared libraries? 
  287.  
  288. No.
  289.  
  290. Alpha OSF/1 does, however.
  291.  
  292. ==============================================
  293. S12. Where can I get a "man" program that understands multiple directories? 
  294.  
  295. The ULTRIX man program does not understand multiple directories.  Some that
  296. do are:
  297.  
  298. 1. The 4.3BSD man program, available from
  299.      decuac.dec.com:pub/sources/bsd-man.shar.Z.
  300. 2. GNU man, from gatekeeper.dec.com:pub/GNU/man-1.0.tar.gz
  301.     There is a later version, but I can't remember where it might be.
  302. 3. Tom Christiansen's PERL man program, from:
  303.        convex.convex.com:pub/perl/scripts/man.shar.Z.
  304.     Requires perl
  305.  
  306. Alpha OSF/1 man understands MANPATH.
  307.                 [Frank Wortner, frank@croton.nyo.dec.com]
  308.  
  309.  
  310. ******************** Network ***************************************
  311.  
  312. ==============================================
  313. N1. What does the message "named: accept: Too many open files" in syslog mean,
  314.     and how can I fix it?
  315.  
  316. There is a bug in the ULTRIX version of named that causes it to run
  317. out of file descriptors when it does too many zone transfers.
  318.  
  319. A somewhat different version of named that does not have this problem
  320. can be found in cra-bind.tar.Z.  This version cannot use Kerberos for
  321. server-server authentication, as the ULTRIX version can.  It does
  322. support Hesiod data and queries.  It is not supported by Digital,
  323. although it is in active use on Digital's Internet machines.
  324.                     [Win Treese, treese@crl.dec.com]
  325.  
  326. ==============================================
  327. N2. Why don't packet-filter applications like "tcpdump" or CAP work?
  328.  
  329. Probably because you have not configured the packet filter into
  330. the kernel.  The default kernel configurations do NOT include the
  331. packet filter.  See "man 4 packetfilter" for full details, but basically
  332. the process involves
  333.  
  334.     editing your kernel configuration file
  335.         add "options PACKETFILTER"
  336.         add "pseudo-device packetfilter"
  337.     rebuilding your kernel
  338.     installing the new kernel
  339.     booting the new kernel
  340.     "cd /dev; MAKEDEV pfilt" to create the required entries
  341.  
  342. You might also want to add the following lines to /etc/rc.local:
  343. [ -f /usr/etc/pfconfig ] && {
  344.         /usr/etc/pfconfig +p +c -a 2>&1 & echo -n ' pfconfig'   >/dev/console
  345. }
  346.  
  347. This allows you to use promiscuous-mode applications, such as "tcpdump"
  348. or "nfswatch".  Note that the '-a' option to pfconfig allows any user to
  349. spy on the network.  If it is omitted, only root may do so.
  350.  
  351. There are also some patches for ULTRIX 4.2 and 4.2A for the
  352. packetfilter code.  Call Digital's Customer Support if you need them.
  353. The official description of the patches is below; here is some
  354. background information. ULTRIX 4.3 has all of the patches included.
  355. Note: these patches cause DECnet-OSI not to work.  To run DECnet-OSI
  356. on ULTRIX 4.3, you will need the latest patched version of
  357. net_common.o for 4.3.
  358.  
  359. Although not mentioned in the description, these patches should also
  360. make Ultrix more forgiving of certain incorrect 802.3 packets.  Such
  361. packets are sent by some 3rd-party implementations.  I don't think
  362. this will fix the problem in every case, since some Digital Ethernet
  363. interfaces filter out "bad" 802.3 packets in hardware.  The patches
  364. should work for DECstations and most DECsystems.
  365.  
  366. Note that if you install these patches and you have been running CAP,
  367. you should recompile CAP after removing the definition for ULT42PFBUG
  368. from the Configure script.  The ULT42PFBUG patch to CAP will not work
  369. once the kernel has been patched.  You should also *stop* doing
  370.  
  371.     ifconfig ln0 copyall
  372.  
  373. once you install the patches.
  374.  
  375. If you have been using tcpdump, nfswatch, or a similar monitoring
  376. program on an FDDI network, installing these patches will probably
  377. make that not work.  You will still be able to use tcpdump on an
  378. Ethernet, of course.  The reason for this is that tcpdump only worked
  379. on FDDI networks because of the bug that is fixed by these patches.
  380.  
  381. These patches are available for Ultrix 4.2 and 4.2A, and for both RISC
  382. and VAX.  They must not be applied to previous versions of Ultrix.
  383.  
  384. Finally, note you must install new versions of BOTH net_common.o
  385. and pfilt.o; you cannot just install one of the files.
  386.  
  387. /sys/{MIPS,VAX}/BINARY/net_common.o      
  388. /sys/{MIPS,VAX}/BINARY/pfilt.o
  389. -----------------------------------          
  390.                           (v4.2 RISC & VAX, v4.2a RISC)
  391.  
  392. Listed are problem resolved by these 2 patches:
  393.  
  394. 1. PACKET FILTER FAILS TO RECEIVE UNICASTS TO LOCAL HOST
  395.  
  396. The packet filter mechanism is supposed to allow a user application
  397. to receive packets that are sent to the local host, if no other
  398. protocol in the kernel wants to use the packet.  This worked fine
  399. in Ultrix 4.0 and 4.1, but in Ultrix 4.2 it is broken.
  400.  
  401. Apparently, setting "copyall" with ifconfig is a workaround, but
  402. this is an EXTREMELY inefficient workaround, and requires users
  403. to reconfigure their systems as super-user.  This is not needed in
  404. ULTRIX 4.3.
  405.  
  406. 2. PACKET FILTER IOCTL EIOCDEVP RETURNS WRONG MTU VALUE
  407.  
  408. A change was made to increase the size for ethernet packets
  409. from 1500 bytes to 1514 bytes which is the MAX size for the ethernet.
  410. This will allow 1500 bytes for the message and 14 bytes for the header.
  411.  
  412. Also corrected the value returned in endevp.end_MTU by the EIOCDEVP ioctl.
  413.  
  414. 3. 802.3/802.2 PACKETS NOT PROPERLY DELIVERED TO PACKET FILTER
  415.  
  416. The packet filter is defined, in its manual page, to provide packets
  417. to user applications exactly as those packets appear on the network.
  418. The current kernel code mangles the headers of 802.2 encapsulations
  419. of Ethernet packets, causing several popular applications to fail.
  420.  
  421.                         [Jeff Mogul, mogul@pa.dec.com]
  422. ==============================================
  423. N3. OK, I've done all that and CAP still doesn't run.
  424.  
  425. [See the previous topic for information on relevant patches for ULTRIX.]
  426.  
  427. There are several bugs in the Ultrix 4.2 packet filter mechanism, some
  428. of which affect CAP.  These are fixed in ULTRIX 4.3. The details are
  429. complex, but you can solve one of them by doing (as super-user,
  430. probably from /etc/rc.local)
  431.  
  432.     /etc/ifconfig ln0 copyall
  433.  
  434. (substitute whatever interface type you are using for "ln0").  The
  435. other bug, which apparently only affects CAP when "Phase 2" is in use,
  436. requires a patch to CAP.  CAP patches are available from a number of
  437. archive sites, including gatekeeper.dec.com: in the directory named
  438.  
  439.     /pub/net/appletalk/cap/cap.patches
  440.  
  441. Another problem you may have is that some Ethernet interfaces sold for
  442. the Macintosh occasionally send incorrect 802.3 packet headers.  (The
  443. bug is that they send a packet whose length does not match the value
  444. provided in the 802.3 header's length field.  Ultrix 4.2, as well as
  445. some of Digital's Ethernet interface hardware, is strict about
  446. checking 802.3 header, and does not accept these packets.)  As of this
  447. writing, a patch is not yet available and there is no workaround.  If
  448. you can, you should try to get the vendor of the nonconforming
  449. interface to provide a solution.
  450.  
  451. Once you have obtained an up-to-date, fully patched copy of CAP 6.0,
  452. the Configure script does not automatically switch on the workaround
  453. code; you must manually edit the m4.setup file to turn the workaround
  454. code on.
  455.  
  456.                         [Jeff Mogul, mogul@pa.dec.com]
  457. ==============================================
  458. N4. I want to run the "screend" program but I get "Operation not supported
  459.     on socket".
  460.  
  461. By default, support for screend is not configured into the Ultrix 4.2
  462. kernel, and the documentation for this is missing.  Edit your kernel
  463. configuration file to include the line:
  464.  
  465.     pseudo-device   gwscreen
  466.  
  467. and rebuild your kernel (i.e., run /etc/config, then change to the
  468. right directory and do "make depend" and then "make").  Install the
  469. new kernel and reboot the system.
  470.  
  471.                         [Jeff Mogul, mogul@pa.dec.com]
  472. ==============================================
  473. N5. I want to use screend but I'm not sure how to set up the
  474.     /etc/screend.conf configuration file.
  475.  
  476. Get a copy of NSL Network Note NN-16, "Using screend to Implement
  477. IP/TCP Security Policies".  Send mail with "Subject: help" for
  478. information on how to order this, or just "Subject: send postscript
  479. nn-16" if you want to receive the PostScript file via return mail to
  480.     nsl-techreports@pa.dec.com
  481.      or ...!uunet!decwrl!nsl-techreports
  482.                         [Jeff Mogul, mogul@pa.dec.com]
  483. ==============================================
  484. N6. Why can't ULTRIX 4.2 mount NFS filesystems that could be mounted with
  485.         ULTRIX 4.1?
  486.  
  487. The version of SUN RPC shipped with ULTRIX V4.2 supports up to 32
  488. groups per user, whereas previous versions supported 8 groups per
  489. user.  Users that are members of more than 8 groups cannot NFS mount
  490. file systems from NFS servers using the version of SUN RPC that only
  491. supports 8 groups.
  492.  
  493. The error message  that nfs_mount will give you if you are in too many
  494. groups will look like this:
  495.  
  496. nfs_mount: crltrx:/usr/local server not responding: RPC: Authentication error;
  497. why = Invalid client credential
  498. nfs_mount: access denied for crltrx:/usr/local
  499.  
  500. The workaround is to reduce the number of groups you are a member of
  501. to eight or less to make NFS mounts work again.  In particular, you should
  502. check the number of groups that "root" is in.
  503.  
  504.  
  505. ==============================================
  506. N7. How do I change the IP address of a diskless client? 
  507.  
  508. The Internet address of a diskless client is determined by the network
  509. boot block the system send as the secondary load file. This file is
  510. initially created by DMS but at the present time DMS does not have
  511. the capability to change an existing netblk.
  512.  
  513. NOTE: If you attempt to change the IP address of either the client or
  514.       server without modifying the netblk then your DISKLESS CLIENTS
  515.       WILL NOT BOOT.
  516.  
  517. The definition of the network boot block is in /usr/include/sas/mop.h and
  518. the netblk structure is shown below.
  519.  
  520.   struct netblk   {
  521.       char        srvname[32];            /* server hostname (boot server)*/
  522.       unsigned long srvipadr;             /* server IP address (boot server)*/
  523.       char        cliname[32];            /* client hostname      */
  524.       unsigned long cliipadr;             /* client IP address    */
  525.       unsigned long brdcst;               /* broadcast address    */
  526.       unsigned long netmsk;               /* network mask address */
  527.       short       swapfs;                 /* swap file system type*/
  528.       short       rootfs;                 /* root file system type*/
  529.       short       swapsz;                 /* swap size in 1/2 Meg units */
  530.       short       dmpflg;                 /* dump flag 0 - disabled */
  531.                                           /*           1 - enabled  */
  532.       char        rootdesc[80];           /* root filesys descriptor */
  533.       char        swapdesc[80];           /* swap file descriptor */
  534.       char        reserved[20];           /* for later use        */
  535.   };
  536.                                    
  537. In order to change the IP address of the client or of the server you will need
  538. to modify the netblk.
  539.  
  540. The code for the boot block is in the file /etc/bootblk.c on the diskless
  541. client.
  542.  
  543. An example of this file is:
  544.  
  545.   #include <sas/mop.h>
  546.   struct netblk   nblk={
  547.   "my_server",
  548.   0x10b38001, "my_client", 0x10b3803e, 0x10b380ff, 0xffffff00,
  549.   0,
  550.   5,
  551.   0,
  552.   0,
  553.   "/dlclient0/my_client.root",
  554.   "rz3b",
  555.   ""
  556.   };
  557.  
  558. A quick cross-reference with the mop include file will tell you which fields
  559. represent which data.
  560.  
  561. To change the IP addresses you need to use the command /usr/diskless/makpkt.
  562.  
  563. The format of this command is:
  564.  
  565.   makpkt server_IP_addr client_name client_IP_addr broadcast netmask
  566.  
  567. Here is an example of using makpkt to change the network boot block parameters.
  568.  
  569.  For a server of address 16.128.128.4 and a client called fred of address
  570. 16.128.128.19 on a class B network you'll need to use the command:
  571.  
  572.   % makpkt 16.128.19.4 fred 16.128.20.19 16.128.255.255 255.255.0.0
  573.  
  574. this will produce the output:
  575.  
  576.   0x10801304,
  577.   "fred",
  578.   0x10801413,
  579.   0x1080ffff,
  580.   0xffff0000,
  581.  
  582.  
  583. You will now need to edit netblk.c and replace the line
  584.  
  585.   0x10b38001, "my_client", 0x10b3803e, 0x10b380ff, 0xffffff00,
  586.  
  587. with
  588.  
  589.   0x10801304, "fred", 0x10801413, 0x1080ffff, 0xffff0000,
  590.  
  591.  
  592. The next step is to compile the new netblk.
  593.  
  594.   % cc -c netblk.c
  595.  
  596.  
  597. If you are changing the client IP address then you will also need to modify
  598. the CLIARP field in /etc/dlparam on the client.
  599.  
  600. eg.
  601.   CLIARP="16.182.128.61"
  602.  
  603.  
  604. Finally you can change the server and/or client IP address on the server
  605. and reboot.
  606.  
  607. ==============================================
  608. N8. Is ONC RPC (formerly "Sun RPC") supported under ULTRIX - and what should I
  609.     do to port my existing applications that rely on it?
  610.  
  611. ONC RPC (formerly "Sun RPC") is not supported under ULTRIX. This means
  612. that not only may some library routines like "clnt_create" not exist,
  613. but that if they do, they may not work as expected. If you need to use
  614. RPC for an application can use the unsupported version of the RPC4.0
  615. distribution that is available for FTP from crl.dec.com and
  616. decuac.dec.com in pub/sources/rpc4.0-ultrix.tar.Z.
  617.  
  618. ONC RPC will be a supported component of Digital's OSF/1 product.
  619.  
  620.  
  621. ==============================================
  622. N9. How can I disable forwarding of IP packets on an ULTRIX system with two
  623.     network interfaces?
  624.  
  625. Put this in rc.local:
  626.  
  627. echo -n 'disabling kernel routing: ipforwarding '        >/dev/console
  628. /usr/etc/kvar -k -wl -s ipforwarding -v 0 /vmunix        >/dev/console
  629.  
  630. ==============================================
  631. N10. How can I run network daemons from inetd as users other than root?
  632.  
  633. inetd will take a username as the fifth field.  This is not documented
  634. on the inetd manual page.  For example:
  635.  
  636. finger    stream    tcp    nowait    nobody    /usr/etc/fingerd    fingerd
  637.  
  638. ==============================================
  639. N11. How do I decode "stale filehandle" messages from NFS?
  640.  
  641. In the message 
  642.  
  643.     NFS server: stale file handle _fs(21,154) file 4100
  644.  
  645. 21 and 154 are the major and minor device numbers.  4100 is the inode number.
  646. Running 'ls -l' on /dev will show the device numbers, so you can ask
  647. mount what directory the filesystem is mounted on.  Then use
  648.  
  649.     find <file system> -inum <inode no> -print
  650.  
  651. to find the file.
  652.                 [Peter Mayne, pjdm@chmeee.enet.dec.com] 
  653.                 [Greg Shapiro, gshapiro@monkeyboy.WPI.EDU]
  654.  
  655. ==============================================
  656. N12. Where can I get IP multicast support for ULTRIX? 
  657.  
  658. Patches to enable IP Multicast are available from
  659. gregorio.stanford.edu:vmtp-ip.  Patches are available for Ultrix 4.1 &
  660. 4.2a.  Binaries are available for 4.2a.
  661.                         [Lance Berc, berc@src.dec.com]
  662.  
  663. ******************** Disk ***************************************
  664.  
  665. ==============================================
  666. D1. Why doesn't ULTRIX 4.1 work with disks bigger than 1.2GBytes?
  667.  
  668. There is a bug in the V4.1 SCSI driver that will only allow it to read
  669. something like (2 ** 21) or (2 ** 20) LBNs.  After that it wraps
  670. around to the beginning of the disk.  It is fixed in V4.2.
  671.  
  672. ==============================================
  673. D2. How can I increase the number of inodes on a filesystem? 
  674.  
  675. "newfs -i XXX" is usually used to increase the number of inodes on a
  676. filesystem, where XXX is the desired number of bytes per filesystem. 
  677. However, there is a not-well-known limit of 2048 inodes per cylinder
  678. group, and newfs doesn't tell you that if you try to ask for more.
  679.  
  680. The solution is to get more cylinder groups, either by using "newfs -c XXX"
  681. to specify the number of cylinders per group or by using 4096-byte
  682. blocks and 512-byte fragments.
  683.  
  684. Read the newfs manual page before trying this at home or work.
  685.                     [Alan Rollow, alan@nabeth.cxo.dec.com]
  686.                     [Win Treese, treese@lcs.mit.edu]
  687.  
  688.  
  689. ==============================================
  690. D3. OK, I used "newfs -i", and I didn't get more inodes? **NEW**
  691.  
  692. The version of the Berkeley Fast File system used by the ULTRIX
  693. Operating System has a limit of 2048 inodes per cylinder group.  This
  694. limit is the constant MAXIPG in the include file
  695. /usr/include/ufs/fs.h.  To change it you need to be able to recompile
  696. from sources.
  697.  
  698. When newfs/mkfs runs it attempts to allocate enough inodes so that
  699. there are enough for an average file size of 2 KB.  (bytes per inode =
  700. 2048).  When there are enough cylinder groups this is easy.  In fact,
  701. if the cylinder group is small enough, it may not get close to the
  702. MAXIPG limit.
  703.  
  704. But over the years, disks have gotten bigger.  They have more
  705. cylinders, more tracks and the tracks have more sectors.  As a result
  706. cylinder groups are larger and it's hard to allocate enough inodes to
  707. meet the 2048 bytes per inode limit, with only MAXIPG available.
  708. Since MAXIPG is fixed the effective average file size goes up.
  709.  
  710. On a News spool tree, the average file probably is around or less than
  711. 2 KB.  As a result, these large cylinder disks don't have enough
  712. inodes for the typical file size, and, more importantly, you can't get
  713. more, since you're already at the MAXIPG limit.  At least not easily.
  714.  
  715. But there are some solutions available...
  716.  
  717. Theme of solutions:
  718.  
  719. Inodes are allocated on a cylinder group basis.
  720. Want more inodes, use more cylinder groups.
  721.  
  722. 1.  Use fewer cylinders per group, thus getting more groups.
  723.     See the -c option of newfs(8).
  724.  
  725.     Note: On the 2nd hand advice of Gregory Neil Shapiro 
  726.     (gshapiro@wpi.wpi.edu) there are some disks for which
  727.     the -c option won't work because mkfs(8) enforces a set 
  728.     of cylinder group sizes that won't allow reducing the 
  729.     number cylinders per below the default of 16.  This seems
  730.     to be the case for the RZ57 and RZ58.
  731.  
  732. 2.  Use a different file system block and fragment size; 4K/512a
  733.     instead of the usual 8K/1K.  In the case of News this may work 
  734.     best.  Since most files are small, using the smaller size may
  735.     help reflect the smaller average file size.  It may also waste
  736.     less space in partially filled fragments.
  737.  
  738. 3.  Lie about the geometry.  If the track length or tracks
  739.     per cylinder is nice factorable number, reduce one to
  740.     increase the effective number of cylinders.  By playing
  741.     games with the factors of the geometry you manage to keep
  742.     the geometry approximately the same.
  743.  
  744.     For some disks this may not matter and you can invent whatever
  745.     lie you want.  For example; the RZ58 uses zoned based recording
  746.     (banding).  Depending on where you are on the disk, there will
  747.     more or less sectors per track.  The single geometry presented
  748.     by ULTRIX is a convient lie.
  749.                     [Allan Rollow, alan@nabeth.cxo.dec.com]
  750.  
  751. ==============================================
  752. D4. What the ^&@(%*&) is a gnode? 
  753.  
  754. "Gnode" means "generic inode". Like most versions of UNIX these days,
  755. ULTRIX has a virtual filesystem. This means the kernel can support
  756. different types of filesystem - like the BSD FFS, the old V7-style
  757. filesystem in System V, RFS, NFS etc.  Gnodes are similar to the vnodes
  758. of the Sun filesystem switch.
  759.  
  760. The message "out of gnodes" usually means "out of inodes" on the
  761. filesystem.  To fix this, you can delete files or reinitialize the
  762. filesystem with newfs (after backing everything up!).
  763.  
  764. The message "gnode: table is full" means that the kernel table for keeping
  765. track of open files is full.  If you need to fix this, increase the maxusers
  766. parameter in your kernel configuration file and rebuild your kernel.
  767.                     [Jim Reid, jim@cs.strath.ac.uk]
  768.                     [Alan Rollow, alan@nabeth.cxo.dec.com]
  769.                     [Win Treese, treese@lcs.mit.edu]
  770.  
  771. ==============================================
  772.  
  773. ******************** Programming ***************************************
  774.  
  775.  
  776. ==============================================
  777. P1. Where can I get an ANSI C compiler for DECstations running ULTRIX?
  778.  
  779. DEC C++ comes with a full ANSI C compiler, which is also known as DEC
  780. C.  The GNU C compiler (gcc) also runs on DECstations with ULTRIX, as
  781. well as under OSF/1 on Alpha platforms.  It is available from many ftp
  782. sites.
  783.                         [Dan McCoy, mccoy@pixar.com]
  784.                         [Mads Westermann, wes@dd.dk]
  785.  
  786. ==============================================
  787. P2. Where can I get a Modula-2 (or Modula-3) compiler for ULTRIX?
  788.  
  789. A Modula-2 compiler for DECstations and VAXen developed at Digital's Western
  790. Research Lab is available in gatekeeper.dec.com:/pub/DEC/Modula-2.
  791.  
  792. If you like Modula-2, you might be interested in Modula-3, a successor
  793. language to Modula-2 developed at Digital's Systems Research Center and
  794. the (now defunct) Olivetti Research Center.  A description of the language
  795. and a portable compiler that runs on many platforms is available in
  796. gatekeeper.dec.com:/pub/DEC/Modula-3.
  797.  
  798.                 [Richard Sharpe, sharpe@adodem.enet.dec.com]
  799.                 [Win Treese, treese@lcs.mit.edu]
  800.  
  801. ==============================================
  802. P3. Does mmap(2) work on plain files? **NEW**
  803.  
  804. On ULTRIX, mmap(2) only works on character special devices.
  805.                     [Win Treese, treese@lcs.mit.edu]
  806.  
  807. ******************** Graphics ***************************************
  808.  
  809. ==============================================
  810. G1. Why does the X server use so much memory?
  811.  
  812. Xws and the other other DEC X servers generally grow larger with
  813. workload, not because of memory leaks.  When you start an X server,
  814. its process is quite small.  As applications are started, the server
  815. allocates memory for a variety of reasons to service requests from
  816. clients.  An example of this is allocating a pixmap.  When the
  817. resource is freed, the corresponding memory is freed back to the
  818. malloc pool, but the server image doesn't get any smaller.  This is
  819. true of any application where you malloc memory and then free it. If
  820. your workload is consistent, server growth is asymptotic, growing
  821. quickly at first, then tapering off.  In other words, if you exit the
  822. application that caused the server to allocate a lot of memory, the
  823. server size won't shrink when the application exits, but the server
  824. won't grow any larger if you run the same application the same way
  825. again.
  826.  
  827. Of course it's possible that a memory leak in the server still exists.
  828. If you think you have a memory leak, you should figure out which
  829. application you run that triggers the leak.  You should run that
  830. application several times, observing the server size with every
  831. iteration.  If the server grows by an appreciable amount each time,
  832. please file an SPR.
  833.  
  834. For workstations with minimal memory, we recommend that you use the
  835. following server command line arguments:
  836.  
  837.     -once    (restart the server afresh for each session)
  838.     -su     (inhibit save unders)
  839.     -bs     (inhibit backing store)
  840.  
  841. The -su and -bs flags essentially trade CPU for memory, making
  842. applications work harder in some cases to save server memory.  This
  843. tradeoff isn't as bad as it may sound.
  844.                     [Joel Gringorten, gringort@wsl.dec.com]
  845.  
  846. ==============================================
  847. G2. How can I build an X11R5 server for an ULTRIX machine?
  848.  
  849. The display device drivers changed significantly between ULTRIX 4.1
  850. and ULTRIX 4.2.  To build an R5 server on ULTRIX 4.1 system, edit the
  851. Edit the file ultrix.cf in mit/config and #define OSMinorVersion to be
  852. 1.  This should cause the Xcfbpmax server to be built instead of the
  853. Xdec server.  Xdec only runs on ULTRIX 4.2 and later.
  854.  
  855. ==============================================
  856. G3. How do I change or get rid of the Digital logo on the login screen of 
  857.     my workstation?
  858.  
  859. To have no logo displayed at all, add this line to /.Xdefaults:
  860.  
  861.     XSessionManager*displayLogo:    no
  862.  
  863. To replace the Digital logo with a different Encapsulated PostScript
  864. image, add the following to /.Xdefaults:
  865.  
  866.     XSessionManager*logoFile:       filename
  867.     XSessionManager*logoFullScreen: true
  868.  
  869. Make sure that "filename" is the full path to a PostScript file.
  870. Note that the PostScript should not end with a "showpage" or the page
  871. will print and then disappear with the "new page."
  872.  
  873. ==============================================
  874. G4. How do I run MIT X11 Software?
  875.  
  876. If you are running with Ultrix 4.2 or later, you should have received
  877. some sort of distribution media with "Unsupported" subsets on it.
  878. Among those subsets are the following:
  879.  
  880.     UDXUNFONTS420 'Unsupported MIT Fonts'
  881.         UDXUNMAN420   'Unsupported X11 Reference Pages'
  882.         UDXUNMIT420   'Unsupported X11 Components'
  883.  
  884. These subsets, in total, provide the fonts, manual pages, and clients
  885. from the X11 Release 4 distribution from MIT, with a few minimal
  886. changes to fix problems that cropped up after the MIT release.
  887.  
  888. If all you want is R4 clients, load the above subsets.  These subsets
  889. were built directly from the X Consortium sources and include all of
  890. the public patches.  The R4 clients will be installed in /usr/bin/X11;
  891. put that directory in your path in order to access them.  An ls on
  892. /usr/bin/X11 will also reveal the names of the applications that are
  893. available.
  894.  
  895. If you have a previous version of Ultrix, or if you need X11 Release
  896. 5, you will have to build from the X Consortium sources yourself.
  897. There are some difficulties associated with building Release 4 from
  898. source on Ultrix versions 4.0 and higher; fortunately, Release 5
  899. corrects these problems, so be sure to start with a fresh Release 5
  900. distribution.
  901.  
  902. Building from source should be a simple matter of editing the
  903. mit/config/ultrix.cf file and then connecting to the toplevel
  904. directory and typing ``Make World''.  If you are running Ultrix 4.2,
  905. you don't need to edit ultrix.cf, but for other versions of Ultrix, be
  906. sure to cd to mit/config and change the OSMinorVersion (and, for
  907. versions of Ultrix prior to 4.0, the OSMajorVersion) number to the
  908. appropriate number for your version of Ultrix.
  909.  
  910. As mentioned in another FAQ answer, the Xdec server provides
  911. multiscreen capability for colour frame buffers, but features of
  912. Ultrix required to support this capability are not present prior to
  913. Ultrix 4.2; for those versions, the Xcfbpmax server will be built;
  914. this server only supports one display per machine, and only DECstation
  915. 2100 and 3100 and DECstation 5000 models running with the CX adapter.
  916.  
  917. The Xdec server should work on the following systems:
  918.  
  919.         DECstation 2100 Monochrome or Color Workstations
  920.         DECstation 3100 Monochrome or Color Workstations
  921.         DECstation 5000/1xx CX, MX or HX Single or Multiscreen Workstations
  922.     DECstation 5000/2xx CX, MX or HX Single or Multiscreen Workstations
  923.  
  924. The support for the HX option on the above platforms is limited to
  925. direct frame buffer I/O - the graphics processor present on the HX
  926. board will not be used.  This means that performance with the R5
  927. server will be substantially worse than performance with the
  928. DEC-supplied server in most cases.  Support for the PX and PXG options
  929. is not present in R5 in any form.  Support for the MX exists, but some
  930. problems have been reported when attempting to render non-black,
  931. non-white pixels.
  932.  
  933. Source to X11 Release Five can be copied across the Internet from
  934. gatekeeper.dec.com (16.1.0.2), crl.dec.com (192.58.206.2), or
  935. export.lcs.mit.edu (18.24.0.12).  Other internet archives may also
  936. have full source distributions; asking around on the Usenet newsgroup
  937. comp.windows.x will probably elicit this information.
  938.  
  939.  
  940. ==============================================
  941. G5. How do I build X software that I got from the net?
  942.  
  943. If you get source code to an X application from somewhere and want to
  944. build it, here are a few helpful hints:
  945.  
  946. First, make sure the following subsets are installed:
  947.  
  948.         UDXUNMIT420
  949.         UDXUNFONTS420
  950.  
  951. You may also find the man pages for the previous two subsets
  952. useful.  They're in:
  953.  
  954.         UDXUNMAN420    
  955.  
  956. Next, add the following line to the end of /usr/lib/X11/config/site.def
  957.  
  958.         #define StandardIncludes -I/usr/include/mit
  959.  
  960. If there are any README files with the source code, now is a good time
  961. to read them, and make any changes they suggest.
  962.  
  963. If you installed the MIT X11 distribution from MIT, rather than the
  964. ULTRIX subsets, your local configuration may be different.
  965.  
  966. If there is an Imakefile:
  967.  
  968. If the source code has a file called "Imakefile" at the top of its
  969. directory hierarchy, typing the following in that top-level directory
  970. should build the application:
  971.  
  972.         xmkmf
  973.         make Makefiles
  974.         make depend
  975.         make
  976.  
  977. To install the application, type
  978.  
  979.         make install
  980.  
  981.  
  982. If there isn't an Imakefile:
  983.  
  984. You might have to edit the Makefile to make the application compile.
  985.  
  986. If ".h" files (like those for the Athena widget set, "Xaw") are not
  987. being found, adding "-I/usr/include/mit" to the "cc" command(s) in the
  988. Makefile will usually do the trick.
  989.  
  990. If you are having problems linking, try using "-lXext-mit" and "-lX11-mit"
  991. instead of "-lXext" and "-lX11" in the Makefile.
  992.  
  993. ==============================================
  994. G6. Why do some applications run slowly on the DECstation PX and PXG
  995.     displays?
  996.  
  997. The PX and PXG graphics adapters are designed for high-speed
  998. two-dimensional vector drawing and for high-speed three-dimensional
  999. rotation and polygon fills, respectively.  In order to get maximum
  1000. performance in these specialized areas, both kinds of adapters have
  1001. their own intelligent on-board processor which do high-speed drawing
  1002. operations, and in the case of the PXG, a general purpose RISC
  1003. processor which does 3D rendering, scaling and rotation.
  1004.  
  1005. In order to optimize graphics performance, a tradeoff was made on both
  1006. of these boards which prevents your system CPU from directly accessing
  1007. display memory.  Allowing your system CPU to directly access display
  1008. memory would, at a minimum, cut the graphics accelerator performance
  1009. by a factor of two, and perhaps more.
  1010.  
  1011. Unfortunately, as a result, operations which involve the copying of
  1012. large images (Pixmaps) into or out of display memory are performed
  1013. much more slowly than they would be if the processor were able to
  1014. directly access system memory.
  1015.  
  1016. One example of this is the ever-popular background image.  The X
  1017. server keeps a Pixmap containing the pattern with which to paint the
  1018. root window; whenever an area of the root window is exposed, the X
  1019. server must copy that portion of the Pixmap over the relatively
  1020. low-performance I/O channel to the PX or PXG adapter, which then
  1021. copies it into display memory.
  1022.  
  1023. As a result, iconifying and deiconifying windows can become a fairly
  1024. slow experience, particularly on systems with lower TurboChannel
  1025. bandwidth.  In this case, the solution is simple; just use the
  1026. standard, boring background.  However, if an application that you use
  1027. actually needs to copy Pixmaps to the screen on a regular basis, you
  1028. will definitely experience slow performance; there's no way to fix
  1029. this problem.
  1030.  
  1031. Unless you need the vector performance of the PX or the 3D rendering
  1032. capabilities of the PXG, use one of the several boards DEC produces
  1033. which are optimized for windowing and imaging, such as the CX (dumb
  1034. colour frame buffer), MX (dumb monochrome frame buffer), HX (smart
  1035. colour frame buffer), or TX (imaging colour frame buffer).
  1036.  
  1037. ==============================================
  1038. G7. What can I do to improve security with X? Can I use xdm? 
  1039.  
  1040. ULTRIX 4.3 and later support the MIT-MAGIC-COOKIE-1 authorization
  1041. protocol and include xdm as well.  Alpha OSF/1 uses xdm by default and
  1042. also supports the authorization protocol.
  1043.                         [Bob Heiney, heiney@pa.dec.com]
  1044.  
  1045. ******************** Hardware ***************************************
  1046.  
  1047. ==============================================
  1048. H1. Can I mix 8-Megabyte and 32-Megabyte boards in the DECstation 5000/xxx
  1049.     family?
  1050.  
  1051. All DS5000 series machines set the memory stride from the first memory
  1052. array module (this is true of the Personal DECstation and the
  1053. DS5000/1xx series and not just the DS5000/2xx machines). The only
  1054. supported configurations are those in which all of the memory array
  1055. modules are of the same capacity.
  1056.  
  1057. Memory array module types are:
  1058.  
  1059.         MS01-AA   1Mbit DRAM    DS2100,DS3100,PDS5000/20,PDS5000/25,DS5000/120,
  1060.                                 DS5000/125,DS5000/133
  1061.         MS01-CA   4Mbit DRAM    PDS5000/20,PDS5000/25,DS5000/120,DS5000/125,
  1062.                                 DS5000/133
  1063.         MS02-AA   1Mbit DRAM    DS5000/200,DS5000/240
  1064.         MS02-CA   4Mbit DRAM    DS5000/200,DS5000/240
  1065.  
  1066. However, you can place one memory array module of a smaller capacity
  1067. at the end of a series of higher capacity modules.
  1068.  
  1069.                 Slot            Module
  1070.  
  1071.                  0              MS02-CA
  1072.                  1              MS02-CA
  1073.                  2              MS02-AA
  1074.  
  1075. This configuration will work, and be properly recognized by Ultrix,
  1076. but it is not "supported." The console will see all of the memory
  1077. modules. The operating system will be expecting memory in 32MB
  1078. segments and when it hits slot 2 it will simply believe that there are
  1079. 24MB of failed memory on that module.
  1080.  
  1081. It will not be possible to support higher memory congigurations in the
  1082. DS5000 series machines with 16Mbit DRAM cards. The issue is that both the
  1083. physical memory address and the I/O address are provided by the same Kseg0
  1084. block (512MB) in the R3000. This will not change with the advent of the R4000
  1085. daughter cards, as it would require modification of the memory controller ASIC
  1086. (the MT chip) as well.
  1087.  
  1088.  
  1089. ==============================================
  1090. H2. How can I find out which type of DECstation 5000 I have?
  1091.  
  1092. If /etc/sizer -c returns:
  1093. DS5000                 then it's a 5000/200.
  1094. DS5000_100             then it's a 5000/1xx (where xx={20,25,33})
  1095. DS5000_300             then it's a 5000/240.
  1096. DSPERSONAL_DECSTATION  then it's a 5000/xx.
  1097.  
  1098. For something more specific on the 5000/1xx and 5000/xx, you need to
  1099. look at the messages printed out at last boot time (available in the
  1100. error log; use /etc/uerf -R -r 300).
  1101.  
  1102. ==============================================
  1103. H3. How can I run a DECstation 3100 without the display?
  1104.  
  1105. To turn a DECstation into a DECsystem you need to:
  1106.  
  1107. 1.  Remove the graphics stuff.
  1108. 2.  Put a mouse loopback connector in the hole for the mouse
  1109.     plug. (part number currently unknown)
  1110.                     [Alan Rollow, alan@nabeth.enet.dec.com]
  1111.  
  1112. ******************** Miscellaneous ***************************************
  1113.  
  1114. ==============================================
  1115. M1. What is the floating-point number representation on ULTRIX?
  1116.  
  1117. The floating point format differs depending on which architecture the
  1118. ULTRIX software is running on.
  1119.  
  1120. Digital's RISC machines all use IEEE floating point representation
  1121. with a little-endian byte ordering.  You can easily convert between
  1122. little and big endian ordering by reversing bytes within the floating
  1123. point number.
  1124.  
  1125. The VAX line uses a unique (although, given the popularity of VAXen)
  1126. quite well known floating point format.
  1127.  
  1128. The ULTRIX C libraries include routines which will translate between
  1129. RISC (IEEE) and VAX floating point formats.  Look under "ftoi" in
  1130. either the online or hardcopy documentation.
  1131.  
  1132. ==============================================
  1133. M2. If the console is a graphics device, can it be used as a terminal for
  1134.     full-screen applications?
  1135.  
  1136. The console emulates a dumb terminal, with no ability to address the screen.
  1137. To run anything like a screen editor, you must start the window system.
  1138.  
  1139. ==============================================
  1140. M3. How do I read a tar image from a TK50 tape if my only TK50 is on a VMS
  1141.     machine?
  1142.  
  1143. On VMS (assuming your tape drive on VMS is MUA0:) :
  1144.  
  1145.     mount/foreign/block=10240/record=10240 mua0:
  1146.     copy mua0: file.tar
  1147.  
  1148. On Ultrix:
  1149.  
  1150.     dcp -i 'vms::where$logical:file.tar' file.tar
  1151.  
  1152.  
  1153. ==============================================
  1154. M4. Why does ULTRIX restrict the number of users on the system?
  1155.  
  1156. The answer to this is two-fold.  The first reason is that due to
  1157. Digital's contract with AT&T, Digital pays royalties to AT&T for its
  1158. ULTRIX product on "bands" of user increments which match up to the
  1159. capacity upgrade licenses which we sell.  For every ULTRIX upgrade
  1160. license sold, Digital sends a portion of that royalty payment to AT&T.
  1161. Other vendors have worked other licensing arrangements with AT&T. 
  1162.  
  1163. The second reason is that Digital depends more on "personal" use of an
  1164. operating system, and tries to break up the costs of providing an
  1165. operating system depending on the number of users using it.  Rather
  1166. than charge a larger amount of money for a two-user system, Digital
  1167. charges a base amount of money, then distributes the rest of the
  1168. development costs across the per-user license base.  Digital hopes
  1169. that this gives an equitable and affordable system to all customers. 
  1170.                     [Jon "maddog" Hall, hall@zk3.dec.com]
  1171.  
  1172. ==============================================
  1173. M5. Where else can I discuss ULTRIX with other users?
  1174.  
  1175. The decstation-managers mailing list is a rapid-turnaround vehicle for
  1176. Ultrix (and maybe OSF/1 someday) administrators to reach a pool of
  1177. people with similar expertise who might be able to help them resolve a
  1178. problem they're having.  There's no discussion on the list--just
  1179. questions and summaries of responses to those questions.
  1180.  
  1181. To join the list, send a message containing:
  1182.  
  1183.         subscribe decstation-managers
  1184.  
  1185.     to majordomo@ornl.gov.  To subscribe an address other than your
  1186.     return address, such as a local exploder, add that address to the
  1187.     subscribe command, e.g.:
  1188.  
  1189.         subscribe decstation-managers decstation-managers@foo.bar
  1190.                         [Dave Sill, de5@ornl.gov]
  1191.  
  1192. ==============================================
  1193. M6. What is the part number for an ULTRIX source code license?
  1194.  
  1195. For educational institutions (these are not listed in the SPD):
  1196.  
  1197.         MODEL                                                         
  1198.         NUMBER      DESCRIPTION                   
  1199.       ----------    ----------------------------- 
  1200.    1  QB-0JRAA-E5   Ultrix/UWS Edu Source Code    
  1201.    2  QB-0JRAA-EM   Ultrix/UWS Edu Source Code    
  1202.    3  QB-0JRAE-E5   Ultrix/UWS Edu Source Code    
  1203.    4  QB-0JRAE-EM   Ultrix/UWS Edu Source Code    
  1204.  
  1205. This is a little confusing, since the "DESCRIPTION" of all four kits is
  1206. the same.  As far as I know, you need to order the -0JRAA- kit the
  1207. first time, and the -0JRAE- ("update") kit for subsequent releases.
  1208. Probably, this is so that you don't have go through a complete set of
  1209. paperwork for a new release.  You have to have to meet a number of other
  1210. requirements; see the Software Product Description (SPD) for more details.
  1211.  
  1212. The -E5 kits are on TK50, and the -EM kits are on 9-track magtape.
  1213. I don't believe that the source kits are available on any other medium.
  1214.  
  1215. All 4 part numbers have the same list price (not especially expensive).
  1216. I don't know if they are available outside the US.
  1217.  
  1218. If you're not at an educational institution, here are the corresponding
  1219. part numbers (these are listed in the SPD, by the way):
  1220.         MODEL                                                         
  1221.         NUMBER      DESCRIPTION                   
  1222.       ----------    ----------------------------- 
  1223.    1  QB-0JQAA-E5   ULTRIX WS LOC.USE SOURCE TK50 
  1224.    2  QB-0JQAA-EM   ULTRIX WS LOC.USE SOURCE 16MT 
  1225.    3  QB-0JQAE-E5   ULTRIX WS LOC.USE SOURCE TK50 
  1226.    4  QB-0JQAE-EM   ULTRIX WS LOC.USE SOURCE 16MT 
  1227.  
  1228. These are more expensive.
  1229.                         [Jeff Mogul, mogul@pa.dec.com]
  1230.  
  1231.